1 2 3 4 5
export function load({ params }: { params: Record<string, string> }) { return { id: +params.id }; }